home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: CONVERTING INTEGER TO ASCII??????
- Date: 11 Mar 1996 07:45 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <11MAR199607455980@erich.triumf.ca>
- References: <4i17r9$2kn@maltese.eag.unisysgsg.com>
- NNTP-Posting-Host: ftp.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4i17r9$2kn@maltese.eag.unisysgsg.com>, ssadra@maltese.eag.unisysgsg.com (Daniel R. Ascheman) writes...
- >HI all,
- >
- >I need a way to convert an integer BACK to ascii so I can search for it
- >in a file using the strstr() function in a file. I NEED it as an integer
- >AND as an ascii, is it possible?
-
- Use sprintf()
-
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
- or: ftp://ftp-i2.informatik.rwth-aachen.de/pub/arnd/GPS/peter/index.html
-
-